<%@ Control Language="C#" AutoEventWireup="true" CodeFile="J_MostProduct_v1.ascx.cs" Inherits="Pub_Module_J_MostProduct_v1" %>
<link rel="stylesheet" type="text/css" href="Pub/Css/JQ/style6.css" />

<script language="javascript" type="text/javascript" src="Pub/Js/JQ/jquery.easing.js"></script>

<script language="javascript" type="text/javascript" src="Pub/Js/JQ/script.js"></script>

<script language="javascript" type="text/javascript">

$(document).ready(function() {    

                     $.ajax({  
                               type: "GET", 
                               url: "Pub/Ajax/AjaxQuery.aspx?type=GetMostProduct", 
                               success: function(resp)
                               { 
                                      $("#<%= divData.ClientID%>").html(resp);  
                                      fnGetMostProduct();
                               } 
                        });        
  });            
</script>



<script type="text/javascript">

function fnGetMostProduct()
{
    var $jParent2=jQuery.noConflict()
     $jParent2(document).ready( function(){	
		    var buttons = { previous:$('#lofslidecontent46 .lof46-previous') ,
						    next:$('#lofslidecontent46 .lof46-next') };
    						
		     $jParent2('#lofslidecontent46').lofJSidernews( { interval : 4000,
												    direction		: 'opacity',	
											 	    easing			: 'easeOutBounce',
												    duration		: 1200,
												    auto		 	: true,
												    mainWidth:172,
												    wapperSelector: 	'.lof46-main-wapper',
												    navItemsSelector    : '.lof46-navigator li',
			                                        navOuterSelector    : '.lof46-navigator-outer' ,
												    buttons			: buttons} );	
	    });
}
</script>

<asp:Panel ID="divData" runat="server">
</asp:Panel>
